package com.erp.order.supply.service.impl;

import com.erp.hr.base.service.impl.BaseServiceImpl;
import com.erp.hr.base.service.impl.BaseServiceImpl;
import com.erp.hr.base.vo.LegalityResultVO;
import com.erp.order.supply.dao.SupplyMaterialDao;
import com.erp.order.supply.dao.SupplyMaterialRDao;
import com.erp.order.supply.model.SupplyMaterialR;
import com.erp.order.supply.service.SupplyMaterialRService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SupplyMaterialRServiceImpl extends BaseServiceImpl<SupplyMaterialRDao, SupplyMaterialR>
        implements SupplyMaterialRService {
    @Autowired
    private SupplyMaterialRDao supplyMaterialRDao;
    @Override
    public SupplyMaterialR addCompleteData(SupplyMaterialR supplyMaterialR) {
        return  this.supplyMaterialRDao.addCompleteData(supplyMaterialR);
    }

    @Override
    public List<SupplyMaterialR> addCompleteData(List<SupplyMaterialR> list) {
        return null;
    }

    @Override
    public LegalityResultVO isLegalityData(SupplyMaterialR supplyMaterialR) {
        return null;
    }

    @Override
    public boolean save(SupplyMaterialR supplyMaterialR) {
        return false;
    }

    @Override
    public boolean update(SupplyMaterialR supplyMaterialR) {
        return false;
    }

    @Override
    public boolean linkDelete(Long id) {
        return false;
    }

    @Override
    public List<SupplyMaterialR> getDatasByOrderId(Long id) {
        return supplyMaterialRDao.getDatasByOrderId(id);
    }

    @Override
    public Integer getCreateCount() {
        return supplyMaterialRDao.getCreateCount();
    }

    @Override
    public SupplyMaterialR getDataObjectById(String valueOf) {
        return supplyMaterialRDao.getDataObjectById(valueOf);
    }
}
